/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.pretorius.question3.ocp.service.impl;

import za.ac.cput.pretorius.question3.ocp.model.Device;
import za.ac.cput.pretorius.question3.ocp.model.impl.DeviceManager;
import za.ac.cput.pretorius.question3.ocp.service.MonitorConnectedDeviceService;


/**
 *
 * @author griddy
 */
public class MonitorConnectedDeviceServiceImpl implements MonitorConnectedDeviceService {

    @Override
    public boolean detectDevice(Device device1) {
        DeviceManager mon = new DeviceManager();
        
        return mon.isConnected(device1);
    }
    

    
}
